# from common.read_file import ReadFile
# print(re)


# [
#     {
#         "schema":{
#             "type":"string",
#             "properties":{
#                 "knowledge":"",
#                 "topThree":{
#                     "type":"boject",
#                     "properties":{
#                         "":""
#                     }
#                 }
#             },
#             "reuired":["","",""]
#         },
#
#     }
# ]

#
# import datetime
#
#
# z = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
# s = (datetime.datetime.now()+datetime.timedelta(days=7)).strftime('%Y-%m-%d %H:%M:%S')
# print(s)
#
# print(z)
# import json
# def read_cases(file):
#     '''
#     @read_cases #用来读json用例文件
#     :param file: 文件
#     :return: 返回需要的数据
#     '''
#     with open(file, 'r', encoding='utf-8') as f:
#         data = json.load(f)
#
#         return data
# # from common.read_file import ReadFile
# step_date = read_cases("./data/testData/scenario_data/addLearningMaterials.json")
# print(step_date["step0"]["tea_body"])
# resp_add = 'ff80818189452f2e01894f3590250188'

# from api.teachingLaboratoryApi.laboratoryQuestionLibrary.laboratoryQuestionLibrary import LaboratoryQuestionLibrary
# req_parmas = {
#                     "userId": "",
#                     "userName": "",
#                     "validCode": "155cc6439a2bd898c289a0a86ee1058c"
#                 }
# resp_add = ['ff80818189452f2e01894f0157330184']
# LaboratoryQuestionLibrary.post_delLaboratoryQuestion(url_cloud="http://192.168.1.26:8081", params=req_parmas,json=resp_add)
#
# sql = "SELECT question_library_status FROM tb_laboratory_question_library WHERE id = 'ff80818189452f2e01894f0157330184' "
# from common.databases_utils import DBUtil_teaching
# s = DBUtil_teaching.select_one(sql)
# print(s[0])

s = '\xe6\xb4\xbb\xe5\x8a\xa8\xe6\x9c\xaa\xe5\xbc\x80\xe5\xa7\x8b'
ss = s.encode('raw_unicode_escape')
print(type(ss))
print(ss)

sss = ss.decode()
print(sss)
import time
for i in range(62, 0, -1):
    print("\r倒计时：{}秒！".format(i), end='', flush=True)
    time.sleep(1)